<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>客户列表</title>
<link rel="stylesheet" type="text/css" href="JQuery/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="JQuery/themes/icon.css" />
<link type="text/css" rel="stylesheet" href="css/common.css" />
<script language="javascript" src="JQuery/jquery-1.7.1.min.js"></script>
<script language="javascript" src="JQuery/jquery.easyui.min.js"></script>
<script language="javascript" src="js/common.js"></script>
<script language="javascript" src="js/user-vm.js"></script>
</head>
<body style="overflow:hidden;">
<table id="user_vm_tt"></table>
<!-- Begin Add new user -->
<div id='user_vm_add_dd' class='easyui-dialog' title='添加新的防毒墙用户' style='width:300px;height:180px;padding:5px;' modal='true' closed='true'>
<div class="easyui-layout" fit='true' border='true'>
<div region='center' border='false'><form id='user_vm_add_ff' method="post">
<input type="hidden" name="type" value='add'/>
<input type="hidden" name="id" value=''/>
用户单位: <input type="input" name="name" class="easyui-validatebox" required="true" validType="length[4,64]" missingMessage="请输入用户单位" invalidMessage="请输入4-64个字符" /><br />
联系邮箱: <input type="input" name="email" class="easyui-validatebox" required="true" validType="email" missingMessage="请输入用户联系邮箱" invalidMessage="请输入正确的邮箱格式" /><br />
联系手机: <input type="input" name="phone" class="easyui-validatebox" required="true" validType="phone"  missingMessage="请输入用户手机号码" invalidMessage="请输入正确手机号码格式" /><br />
到期时间: <input id="dd" type="text" class="easyui-datebox" required="true" name="lasttime" validType="date" missingMessage="请选择正确的日期" invalidMessage="请输入正日期格式" editable="false"/><br />
</form>
</div>
<div region='south' style="height:30px; text-align:center; padding-top:5px;" border='false'><a href="javascript:void(0)" iconCls="icon-save" class="easyui-linkbutton" onclick="$('#user_vm_add_ff').submit()">添加</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:void(0)" iconCls="icon-cancel" class="easyui-linkbutton" onclick="$('#user_vm_add_dd').dialog('close')">取消</a></div>
</div>
</div>
<!-- End Add new user -->
<!-- Begin Import data -->
<div id='user_vm_import_dd' class='easyui-dialog' title='导入新的防毒墙用户' style='width:400px;height:180px;padding:5px;' modal='true' closed='true'>
<div class="easyui-layout" fit='true' border='true'>
<div region='center' border='false'><form id='user_vm_import_ff' method="post" enctype="multipart/form-data">
<label>上传的文件格式如下:<br /><br />
[用户单位]\t[联系邮箱]\t[联系电话]\t[到期日期(年-月-日)]<br />
...<br /><br />
</label>
文件: <input type="file" name="file" style="width:300px;"/><br /><br />
</form>
</div>
<div region='south' style="height:30px; text-align:center; padding-top:5px;" border='false'><a href="javascript:void(0)" iconCls="icon-save" class="easyui-linkbutton" onclick="$('#user_vm_import_ff').submit()">导入</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:void(0)" iconCls="icon-cancel" class="easyui-linkbutton" onclick="$('#user_vm_import_dd').dialog('close')">取消</a></div>
</div>
</div>
</body>
</html>